* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input:focus {
    outline: none;
}

body {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #fff;
}

.container {
    height: 50%;
}

.container .register {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;
    height: 100%;
    width: 600px;
    margin: 100px auto;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.5s;
}

.container .register:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.container .register::before {
    content: "register";
    position: absolute;
    top: -54px;
    left: 50px;
    font-size: 50px;
    color: #333;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.container .title {
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
    font-size: 30px;
}

.container .title2 {
    margin-bottom: 20px;
    color: #666;
    font-weight: 400;
    font-size: 20px;
}

.container .inp {
    width: 300px;
    height: 50px;
    border-radius: 25px;
    padding: 15px;
    border: 1px solid #333;
    color: #333;
    font-size: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    transition: all 0.5s ease;
    margin-top: 20px;
}

.container .inp:focus {
    width: 320px;
}

.container .inp::placeholder {
    color: #888;
}

.container .username_error {
    /* 使用透明度来做过渡动画 */
    opacity: 0;
    color: rgba(255, 0, 0, .8);
    font-size: 14px;
    transition: all 0.5s ease;
    margin-left: 30px;
}

.container .phone_error {
    opacity: 0;
    color: rgba(255, 0, 0, .8);
    font-size: 14px;
    transition: all 0.5s ease;
    margin-left: 52px;
}

.container .btn {
    width: 150px;
    height: 50px;
    border-radius: 25px;
    border: none;
    background-color: rgba(0, 150, 0, 1);
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.container .btn:hover {
    background-color: rgba(0, 150, 0, .8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.container .left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-image: url("../images/22_open.72c00877.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transition: all 0.5s ease;
}

.container .right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: url("../images/33_open.43a09438.png") no-repeat;
    background-size: 100% 100%;
    transition: all 0.5s ease;
}

.time {
    position: absolute;
    bottom: 0;
    color: #666;
    transition: all 0.1s ease;
}